<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:p="http://primefaces.org/ui" template="/templates/main.xhtml">

	<ui:define name="metadata"></ui:define>

	<ui:define name="title">
		<h:outputText value="#{I18N.APP_TITLE}" />
	</ui:define>
	<ui:define name="top">
		<ui:include src="/snippets/top.xhtml" />
	</ui:define>
	<ui:define name="content">
		<div class="container" style="width: 500px;">
			<div class="hero-unit">
				<form class="form-horizontal"
					action="/juice/j_spring_security_check" method='POST'>
					<div class="control-group">
						<label class="control-label" for="j_username">Identifiant</label>
						<div class="controls">
							<input type="text" id="j_username" name="j_username"  placeholder="Identifiant" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="j_password">Mot de passe</label>
						<div class="controls">
							<input type="password" id="j_password" name="j_password" placeholder="Mot de passe" />
						</div>
					</div>
					<div class="control-group">
						<div class="controls">
							<button type="submit" class="btn btn-primary">Connexion</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</ui:define>
	<ui:define name="footer">
		<ui:include src="/snippets/footer.xhtml" />
	</ui:define>
</ui:composition>
